package org.example.service;

import org.example.pojo.Emp;
import org.example.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * 包名：org.example.service
 * 用户：admin
 * 日期：2025-09-12
 * 项目名称：pro-demo
 */
public interface EmpService {

    PageBean page(Integer start, Integer pageSize, String name, Short gender, LocalDate begin, LocalDate end);

    void delete(List<Integer> ids);

    void save(Emp emp);

    Emp getById(Integer id);

    void update(Emp emp);

    Emp login(Emp emp);

}
